-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[build] Remove more files #19603
[build] Remove more files #19603
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Before:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
src/dev/build/tasks/clean_tasks.js
Outdated
'*.sh', | ||
'*.scss', | ||
'*.sass', | ||
'*.png', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that x-pack is now in node_modules on builds, so I don't think removing things like images is safe.
Last commit removed images and archives (chromium, phantom) from the patterns list, these can be added back with an exclude of the x-pack folder. Split tasks up so we don't OOM when the globs match too many files. Letting CI run |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I left some minor notes, but if there's any contention with them, don't hold this up.
src/dev/build/tasks/clean_tasks.js
Outdated
'gulpfile.js', | ||
'Makefile', | ||
]; | ||
const transpiledSources = ['*.coffee', '*.scss', '*.sass']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: The are the opposite of transpiled sources. They are untranspiled sources, or perhaps transpilable sources.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add .ts and .tsx to the mix since those can't be transpiled on the fly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Updated both with 9190f60
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - tested
* [build] Remove more files * rename, add ts and tsx
* [build] Remove more files * rename, add ts and tsx
This adds more globs to the list of files that get removed from
node_modules
.Common files were found using
find
: